package com.caipin.domain.table;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:38
 * @Description: TODO
 */
@TableName("t_security_set_parameter")
public class SecuritySetParameter {
    private Integer id;

    private Integer pedestrianThreshold;

    public com.caipin.domain.table.SecuritySetParameter setId(Integer id) {
        this.id = id;
        return this;
    }

    public com.caipin.domain.table.SecuritySetParameter setPedestrianThreshold(Integer pedestrianThreshold) {
        this.pedestrianThreshold = pedestrianThreshold;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.table.SecuritySetParameter))
            return false;
        com.caipin.domain.table.SecuritySetParameter other = (com.caipin.domain.table.SecuritySetParameter)o;
        if (!other.canEqual(this))
            return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
            return false;
        Object this$pedestrianThreshold = getPedestrianThreshold(), other$pedestrianThreshold = other.getPedestrianThreshold();
        return !((this$pedestrianThreshold == null) ? (other$pedestrianThreshold != null) : !this$pedestrianThreshold.equals(other$pedestrianThreshold));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.table.SecuritySetParameter;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $pedestrianThreshold = getPedestrianThreshold();
        return result * 59 + (($pedestrianThreshold == null) ? 43 : $pedestrianThreshold.hashCode());
    }

    public String toString() {
        return "SecuritySetParameter(id=" + getId() + ", pedestrianThreshold=" + getPedestrianThreshold() + ")";
    }

    public Integer getId() {
        return this.id;
    }

    public Integer getPedestrianThreshold() {
        return this.pedestrianThreshold;
    }
}

